package com.hnbtr.service;

import java.util.List;

import com.hnbtr.param.Page;
import com.hnbtr.param.TeacherParam;
import com.hnbtr.pojo.Teacher;

public interface TeacherService {
	void add(Teacher teacher);
	void update(Teacher teacher);
	Teacher findById(Integer tid);
	List<Teacher> findByInfo(Teacher teacher);
	List<Teacher> findWithPage(Page page);
	List<Teacher> findByCondition(TeacherParam tp);
	Teacher findByPhone(String phone);
}
